﻿using System;

namespace Sustainalytics.Claims
{
    public class ImportLogsDto
    {
        public string Errors { get; set; }

        private ImportLogsDto() { }

        public static ImportLogsDto CreateComplete(ImportLogs importLogs)
        {
            if (importLogs == null)
            {
                throw new ArgumentException("importLogs", "Import Logs cannot be null.");
            }

            return new ImportLogsDto
            {
                Errors = importLogs.Errors
            };
        }
    }
}
